﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace masini
{
    abstract class CarsFactory
    {
        public abstract void Put(Car c); //adauga o masina in poolul de masini
        public abstract Car SearchByName(string name, bool sterge ); //cauta o masina dupa nume in poolul de masini
                                                                     //daca sterge este true atunci se sterge masina gasita din pool
    }
}
